from building import *

# get current directory
cwd     = GetCurrentDir()
# The set of source files associated with this SConscript file.

src     = Glob('rtt/drv_wlan/*.c')
path    = [cwd + '/rtt/drv_wlan']

group = DefineGroup('Drivers', src, depend = ['BSP_USING_WIFI'], CPPPATH = path)

src     = Glob('rtt/*.c') + Glob('rtt/protobuf-c/*.c')
path    = [cwd + '/rtt']

group = DefineGroup('esp32hosted', src, depend = ['BSP_USING_WIFI'], CPPPATH = path)

Return('group')

